import 'package:flutter_book_store/generated/json/base/json_convert_content.dart';
import 'package:flutter_book_store/generated/json/base/json_field.dart';

class BooksEntity with JsonConvert<BooksEntity> {
	int total;
	@JSONField(name: "list")
	List<BooksList> xList;
	int pageNum;
	int pageSize;
	int size;
	int startRow;
	int endRow;
	int pages;
	int prePage;
	int nextPage;
	bool isFirstPage;
	bool isLastPage;
	bool hasPreviousPage;
	bool hasNextPage;
	int navigatePages;
	List<int> navigatepageNums;
	int navigateFirstPage;
	int navigateLastPage;
}

class BooksList with JsonConvert<BooksList> {
	String id;
	int isbn;
	String name;
	String author;
	String type;
	bool status;
	String synopsis;
	List<int> level;
	bool isClick;
}
